Siel\Acumulus\Invoice\Completor D

Total Complexity 253
Dependencies 17
Dependents 7
Total lines 1,639
Lines of code 733
Logical lines of code 487
Comment lines 721
Methods 41
Properties 17

Methods 41

Method Rating Maintainability Complexity Lines of code
getInvoiceLinesVatTypeInfo()
D
36 35 62
initPossibleVatRates()
C
38 25 63
addMissingAmountLine()
B
39 15 62
processMetaData()
A
50 15 28
initPossibleVatTypes()
A
45 14 40
guessVatType()
A
46 12 37
completeVatType()
A
42 11 52
areTotalsEqual()
A
47 12 36
completeLineTotals()
A
46 9 41
correctNoVatLines()
A
55 9 18
correctMarginInvoice()
A
56 8 17
shouldConvertCurrency()
S
56 7 18
changeInvoiceToConcept()
S
52 6 24
validateEmail()
S
53 5 22
checkForKnownVatType()
S
56 5 16
fictitiousClient()
S
58 5 14
isVatFree()
S
69 4 6
invoiceTemplate()
S
64 4 9
is0Vat()
S
69 4 6
isZeroVatClass()
S
64 4 9
isVatFreeClass()
S
64 4 9
getVatRatesByCountryAndInvoiceDate()
S
60 3 13
complete()
S
53 2 23
convertAmount()
S
67 3 7
addDefault()
S
68 3 7
metaDataHasANoVat()
S
66 3 9
metaDataHasOnlyNoVat()
S
66 3 9
removeEmptyShipping()
S
64 3 9
getInvoiceDate()
S
72 2 5
isEu()
S
68 2 7
isCompany()
S
77 2 3
isForeignVatClass()
S
69 2 6
isNoVat()
S
79 2 3
checkMissingAmount()
S
69 2 7
convertToEuro()
S
65 2 9
__construct()
S
62 1 12
isNl()
S
79 1 3
isOutsideEu()
S
80 1 3
isCorrectVatRate()
S
79 1 3
lineHasNoVat()
S
80 1 3
t()
S
80 1 3